package indi.jp.project.business.yunying.entity;

import indi.jp.project.core.entity.BaseEntity;
import indi.jp.project.core.entity.po.AttachmentPO;
import indi.jp.project.process.entity.FlowTask;

import java.util.List;

public class MaterialFiled extends BaseEntity {
    /**
     * 主键
     */
    private String id;
    /**
     * 项目ID
     */
    private String projectId;
    /**
     * 项目编码
     */
    private String projectCode;
    /**
     * 项目名称
     */
    private String projectName;
    /**
     * 所属部门
     */
    private String departmentId;
    /**
     * 部门编码
     */
    private String departmentCode;
    /**
     * 部门名称
     */
    private String departmentName;
    /**
     * 收货人
     */
    private String consignee;
    /**
     * 收货地址
     */
    private String address;
    /**
     * 联系电话
     */
    private String phone;

    /**
     * 项目组人数
     */
    private Integer toll;

    /**
     * 耗材总价
     */
    private Integer totalPrice;

    /**
     * 备注、其他说明
     */
    private String remark;
    /**
     * 申请单类型（0:生产耗材，1:办公耗材）
     */
    private Integer category;

    /**
     * 流程类型编码
     */
    private String flowTypeCode;

    /**
     * 流程状态，以0为起点
     */
    private Integer state;

    /**
     * 状态名称
     */
    private String stateName;

    /**
     * 处理人
     */
    private String handler;

    /**
     * 处理人名称
     */
    private String handlerName;
    /**
     * 是否允许撤回
     */
    private Integer allowRevoke;
    /**
     * 被驳回时状态
     */
    private Integer rejectedState;

    /**
     * 流程
     */
    private List<FlowTask> flowList;

    /**
     * 明细
     */
    private List<MaterialFiledItem> items;

    /**
     * 附件
     */
    private List<AttachmentPO> attachments;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getToll() {
        return toll;
    }

    public void setToll(Integer toll) {
        this.toll = toll;
    }

    public Integer getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Integer totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public String getFlowTypeCode() {
        return flowTypeCode;
    }

    public void setFlowTypeCode(String flowTypeCode) {
        this.flowTypeCode = flowTypeCode;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public String getHandlerName() {
        return handlerName;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public List<FlowTask> getFlowList() {
        return flowList;
    }

    public void setFlowList(List<FlowTask> flowList) {
        this.flowList = flowList;
    }

    public List<MaterialFiledItem> getItems() {
        return items;
    }

    public void setItems(List<MaterialFiledItem> items) {
        this.items = items;
    }

    public List<AttachmentPO> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<AttachmentPO> attachments) {
        this.attachments = attachments;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Integer getAllowRevoke() {
        return allowRevoke;
    }

    public void setAllowRevoke(Integer allowRevoke) {
        this.allowRevoke = allowRevoke;
    }

    public Integer getRejectedState() {
        return rejectedState;
    }

    public void setRejectedState(Integer rejectedState) {
        this.rejectedState = rejectedState;
    }
}